package ln.javatest.day18.demo02;
//小明定义的计算器类
public class Calculator {
    @Check
    public void add(){
        System.out.println("1+0=" +(1+0));
    }
    @Check
    public void sub(){
        System.out.println("1-0=" +(1-0));
    }
    @Check
    public void mul(){
        System.out.println("1/0=" +(1/0));
    }
}
